package com.ibeifeng.crm.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.ibeifeng.crm.bean.Log;
import com.ibeifeng.crm.dao.GetLogDao;
import com.ibeifeng.crm.service.GetLogService;

@Service
public class GetLogServiceImpl implements GetLogService {
	@Resource
	GetLogDao getLogDao;

	@Override
	public List<Log> queryLimit(int pg, int pgSize, String keyWord) {
		return getLogDao.queryLimit(pg, pgSize, keyWord);
	}

	@Override
	public int count() {
		return getLogDao.count();
	}
	

}
